<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:ajax="https://ajax4jsf.dev.java.net/ajax">

<h:form>
	<ui:insert name="content">

		<h:panelGrid columns="2">

			<h:selectOneMenu id="semilleros"
				label="#{messages['semilleros.registrarreunion.semilleros']}"
				value="#{registrarReunionBackBean.semilleros}">
				<f:selectItems value="#{registrarReunionBackBean.semilleros}"
					var="semillero" label="#{semillero.nombre}"
					noSelectionLabel="#{messages['general.seleccione']}" />
				<ajax:support event="onchange" ajaxSingle="true" />
			</h:selectOneMenu>
			<h:outputText value="" />
			
			<h:outputText value="#{messages['semilleros.registrarreunion.fechaReunion']}" />
			<rich:calendar id="date" value="#{registrarReunionBackBean.fechaReunion}"/>
			
			<h:outputText value="#{messages['semilleros.registrarreunion.motivoReunion']}" />
			<h:inputText value="#{registrarReunionBackBean.motivoReunion}" />
			
			<a4j:commandButton value="#{messages['semilleros.registrarreunion.ingresarIntegrantes']}"
			 onclick="Richfaces.showModalPanel('modalIntegrantes');" >
			</a4j:commandButton>

		</h:panelGrid>



	</ui:insert>

<!--  	<rich:modalPanel id="modalIntegrantes">

		<f:facet name="header">

			<h:outputText value="I'm panel header" />

		</f:facet>


		<a onclick="Richfaces.hideModalPanel('modalIntegrantes');" href="#">Hide
			ModalPanel</a>

	</rich:modalPanel>-->
</h:form>	
</html>
